package com.ybkj.daijia.server.service;

import com.ybkj.daijia.server.model.PayRecordOrder;

/**
 * @author Shine
 */
public interface PayRecordOrderService {

    /**
     * 保存司机临时充值记录
     *
     * @param payRecordDriver
     * @return
     */
    public PayRecordOrder insertRecord(PayRecordOrder payRecordOrder);

    /**
     * 根据交易号查询司机充值记录
     *
     * @param id
     * @return
     */
    public PayRecordOrder findOne(Long id);

    /**
     * 根据主键更新司机临时充值记录
     *
     * @param payRecordDriver
     * @return
     */
    public int updateByPrimaryKey(PayRecordOrder payRecordOrder);
}
